package cn.Liujialin.user.mapper;

import cn.Liujialin.basic.mapper.BeanMapper;
import cn.Liujialin.user.domain.User;

public interface UserMapper extends BeanMapper<User> {

    //通过手机号查询用户
    User findByPhone(String phone);

    //通过ID查找用户也就是user表
    User findByLoginInfoId(Long loginInfoId);
}
